package com.tsd.base.service;

import com.tsd.base.entity.BaseAssistType;
import com.tsd.base.entity.BaseAssistTypeExt;
import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：BaseAssistType服务实现层接口
 *
 * @author zsy
 * @date 2020/12/29 15:22:59
 */
public interface BaseAssistTypeService {

    /**
     * 描述：根据id获取BaseAssistType
     *
     * @param id
     */
    BaseAssistType getBaseAssistTypeById(Long id) throws Exception;

    /**
     * 描述：根据sid获取BaseAssistType
     *
     * @param sid
     */
    BaseAssistTypeExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据id删除BaseAssistType
     *
     * @param id
     */
    void deleteBaseAssistType(Long id, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新BaseAssistType
     *
     * @param record
     * @param opUser
     */
    void saveBaseAssistType(BaseAssistType record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询BaseAssistType
     *
     * @param params
     * @param page
     */
    List<BaseAssistTypeExt> findBaseAssistTypes(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询BaseAssistType
     *
     * @param params
     */
    List<BaseAssistTypeExt> findBaseAssistTypes(Map<String, Object> params) throws Exception;
}
